package com.ph.irp.model;

import java.util.HashSet;
import java.util.Set;

/**
 * PBasePurviewRole entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class PBasePurviewRole implements java.io.Serializable {

	// Fields

	private Integer roleId;
	private String roleName;
	private String roleDesc;
	private Set PBasePurviewUserroles = new HashSet(0);
	private Set PBasePurviewFunctionroles = new HashSet(0);

	// Constructors

	/** default constructor */
	public PBasePurviewRole() {
	}

	/** minimal constructor */
	public PBasePurviewRole(String roleName, String roleDesc) {
		this.roleName = roleName;
		this.roleDesc = roleDesc;
	}

	/** full constructor */
	public PBasePurviewRole(String roleName, String roleDesc,
			Set PBasePurviewUserroles, Set PBasePurviewFunctionroles) {
		this.roleName = roleName;
		this.roleDesc = roleDesc;
		this.PBasePurviewUserroles = PBasePurviewUserroles;
		this.PBasePurviewFunctionroles = PBasePurviewFunctionroles;
	}

	// Property accessors

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleDesc() {
		return this.roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public Set getPBasePurviewUserroles() {
		return this.PBasePurviewUserroles;
	}

	public void setPBasePurviewUserroles(Set PBasePurviewUserroles) {
		this.PBasePurviewUserroles = PBasePurviewUserroles;
	}

	public Set getPBasePurviewFunctionroles() {
		return this.PBasePurviewFunctionroles;
	}

	public void setPBasePurviewFunctionroles(Set PBasePurviewFunctionroles) {
		this.PBasePurviewFunctionroles = PBasePurviewFunctionroles;
	}

}